//
//  ATRAZ500MapCollectionAction.h
//  ABCTime
//
//  Created by lianglibao on 2018/5/25.
//  Copyright © 2018年 100TAL. All rights reserved.
//

#import <UIKit/UIKit.h>

extern NSString * const kATRazMapHomeBgm;
//extern NSString * const kATRazMapHomeBgmTimerName;

@class ATRAZ500MapCollectionAction, ATRAZMapCardModel;

@protocol ATRAZ500MapCollectionActionDelegate <NSObject>

- (void)razMapCollectionActionWithClickedButton:(UIButton *)button atIndex:(NSInteger)index;

@end

@interface ATRAZ500MapCollectionAction : NSObject

@property (readonly, nonatomic) UICollectionView *collectionView;

@property (copy, nonatomic) NSArray *dataSource;

@property (weak, nonatomic) id<ATRAZ500MapCollectionActionDelegate>delegate;

@property (nonatomic, assign) BOOL isPlayingBgm;

/**
 滚动到指定的位置
 
 @param index 下标
 */
- (void) scrollAtIndex:(NSInteger)index;

@end
